package com.usooft.metaTalent.core.system.service;

import com.usooft.framework.core.query.Page;
import com.usooft.metaTalent.core.system.entity.Employee;
import com.usooft.metaTalent.core.system.entity.EmployeeWxOpenUser;
import com.usooft.metaTalent.core.system.query.EmployeeWxOpenUserQuery;
import com.usooft.metaTalent.core.system.wrapper.EmployeeWxOpenUserWrapper;
import com.usooft.metaTalent.core.wx.entity.WxOpenUser;
import java.util.List;
import java.util.Optional;
import java.lang.Long;

public interface EmployeeWxOpenUserService {

    // region 自动生成
    EmployeeWxOpenUser get(Long id);

    Optional<EmployeeWxOpenUser> find(Long id);

    List<EmployeeWxOpenUserWrapper> list(EmployeeWxOpenUserQuery query);

    Page<EmployeeWxOpenUserWrapper> page(EmployeeWxOpenUserQuery query);

    int count(EmployeeWxOpenUserQuery.Filter filter);
    // endregion

    Optional<EmployeeWxOpenUser> findByWxOpenUser(WxOpenUser wxOpenUser);

    EmployeeWxOpenUser create(Employee employee, WxOpenUser wxOpenUser);
}